namespace RBAC.Read.Api.Application.Dto
{
    /// <summary>
    /// 工单 BOM 明细 DTO（用于详情）。
    /// </summary>
    public class WorkOrderBomItemDto
    {
        public long WorkOrderId { get; set; }
        public int LineNo { get; set; }
        public long MaterialId { get; set; }
        public string MaterialCode { get; set; } = string.Empty;
        public string MaterialName { get; set; } = string.Empty;
        public string? Spec { get; set; }
        public string? Unit { get; set; }
        public decimal Qty { get; set; }
        public decimal? LossRate { get; set; }
        public long? WarehouseId { get; set; }
        public string? WarehouseName { get; set; }
        public string? Remark { get; set; }
    }
}
